home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global tid, skotTid, skottILuften, shipHit, kanonVinkel
- if tid > 220 then
- timglas()
- set tid to 0
- else
- set tid to tid + 1
- end if
- shipIntoWater()
- shipUpFromWater()
- moveShip()
- if skottILuften = 1 then
- set skotTid to skotTid + 1
- if skotTid > 3 then
- set the locH of sprite 23 to 1000
- end if
- case kanonVinkel of
- 2:
- hit10()
- 3:
- bom9()
- 4:
- bom8()
- 5:
- hit7()
- 6:
- bom6()
- 7:
- hit5()
- 8:
- bom4()
- 9:
- hit3()
- 10:
- bom2()
- 11:
- bom1()
- end case
- end if
- go(the frame)
- end
-